<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
</head>
<style type="text/css">
    table {
        width: 300px;
        height: 300px;
        text-align: center;
        border: 1px;
        cellSpacing: 0;
    }

    .a {
        background: rgba(202, 236, 241, 0.85);
    }
    table,tr, th, td {
        border: solid 1px #edf0f5;
    }
    table{
        width: 100%;
        height: 100%;
        margin: 0 auto;
        border: 1px;
        cellSpacing: 0px;
        border-collapse: collapse;
        border-spacing: 0;
    }

</style>
<body>
<center>
    <div class="content">
        <h1>个人资料</h1>
        <table>
            <tr>
                <td class="a">用户名</td>
                <td>$!{username}</td>
                <td class="a">昵称</td>
                <td>$!{nickname}</td>
                <!--                <td rowspan="1" colspan="1">-->
                <td colspan="2">
                    <img width=100px height=100px src="$!{avatarUrl}">
                </td>
            </tr>
            <tr>
                <td class="a">性别</td>
                <td>
                    #if($!{sex}==0)
                    男
                    #else
                    女
                    #end
                </td>
                <td class="a">邮箱</td>
                <td>$!{email}</td>
                <td class="a">手机号</td>
                <td>$!{phonenumber}</td>
            </tr>

            <tr>
                <td colspan="6" class="a">工作经历</td>
            </tr>
            <tr>
                <td>开始时间</td>
                <td>结束时间</td>
                <td>公司名称</td>
                <td>地点</td>
                <td>岗位</td>
                <td>离职原因</td>
            </tr>
            #foreach($item in $list)
            <tr>
                <td>$item.a</td>
                <td>$item.b</td>
                <td>$item.c</td>
                <td>$item.d</td>
                <td>$item.e</td>
                <td>$item.f</td>
            </tr>
            #end

            <tr>
                <td colspan="6" class="a">图片</td>
            </tr>
            #foreach($item in $pictures)
            <tr>
                <td width="100%" colspan="6">
                    <img width=200px height=100px  src="$item.picture"/>
                </td>
            </tr>
            #end
        </table>


    </div>
</center>
</body>
</html>
